#ifndef GSTREAMER_H
#define GSTREAMER_H

#include <QQuickItem>
#include <QLoggingCategory>

#include "IVideoReceiver.h"


Q_DECLARE_LOGGING_CATEGORY(GStreamerLog)
Q_DECLARE_LOGGING_CATEGORY(GStreamerAPILog)

class GStreamer
{
public:
    static void initialize(int argc, char *argv[]);

    static void* createVideoSink(QObject* parent, QQuickItem* widget);
    static void  releaseVideoSink(void* sink);

    static IVideoReceiver *createVideoReceiver(QObject *parent);
};

#endif // GSTREAMER_H
